<!--{if $_G['uid']}-->
<div id="um">
    <div class="avt y"><a href="home.php?mod=space&uid=$_G[uid]"><!--{avatar($_G['uid'], 'middle')}--></a></div>
    <p>
      
       
        <a href="home.php?mod=spacecp">{lang setup}</a>
           <a href="home.php?mod=space&do=notice" id="myprompt" class="a showmenu{if $_G[member][newprompt] && !$_G['setting']['bbclosed'] && empty($_G['member']['freeze']) && $_G['member']['groupid'] != 5} new{/if}" onmouseover="showMenu({'ctrlid':'myprompt'});">{lang remind}<!--{if $_G[member][newprompt] && !$_G['setting']['bbclosed'] && empty($_G['member']['freeze']) && $_G['member']['groupid'] != 5}-->($_G[member][newprompt])<!--{/if}--></a><span id="myprompt_check"></span>
        <!--{if empty($_G['cookie']['ignore_notice']) && !$_G['setting']['bbclosed'] && empty($_G['member']['freeze']) && $_G['member']['groupid'] != 5 && ($_G[member][newpm] || !empty($_G[member][newprompt_num][follower]) || !empty($_G[member][newprompt_num][follow]) || $_G[member][newprompt])}-->
        <script language="javascript">
            delayShow($('myprompt'), function() {
                showMenu({
                    'ctrlid': 'myprompt',
                    'duration': 3
                })
            });
        </script><!--{/if}-->
        <!--{if !empty($_G['setting']['taskstatus']) && !empty($_G['cookie']['taskdoing_'.$_G['uid']])}--><a href="home.php?mod=task&item=doing" id="task_ntc" class="new">{lang task_doing}</a><!--{/if}-->
       
        <!--{if $_G['uid'] && $_G['group']['radminid'] > 1}-->
        <a href="forum.php?mod=modcp&fid=$_G[fid]" target="_blank">{lang forum_manager}</a>
        <!--{/if}-->
        <!--{if $_G['uid'] && getstatus($_G['member']['allowadmincp'], 1)}-->
        <a href="admin.php" target="_blank">{lang admincp}</a>
        <!--{/if}-->
          <!--{if check_diy_perm($topic)}-->
          <a href="javascript:saveUserdata('diy_advance_mode', '1');openDiy();" class="xi2">高级DIY</a>
          <!--{/if}-->
        <!--{hook/global_usernav_extra2}-->
        <a href="member.php?mod=logging&action=logout&formhash={eval echo formhash();}">{lang logout}</a>
    </p>
    
</div>
<!--{elseif !empty($_G['cookie']['loginuser'])}-->
<p>
    <strong><a id="loginuser" class="noborder"><!--{echo dhtmlspecialchars($_G['cookie']['loginuser'])}--></a></strong>
    <a href="member.php?mod=logging&action=login" onclick="showWindow('login', this.href)">{lang activation}</a>
    <a href="member.php?mod=logging&action=logout&formhash={FORMHASH}">{lang logout}</a>
</p>
<!--{elseif !$_G[connectguest]}-->
<!--{template member/login_simple}-->
<!--{else}-->
<div id="um">
    <div class="avt y"><!--{avatar(0, 'middle')}--></div>
     
    
</div>
<!--{/if}-->